package com.xie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@TableName("personnel")
@ApiModel(description = "员工")
public class Personnel {
    @TableId(value = "emp_id",type = IdType.AUTO)
    @ApiModelProperty(value = "员工id")
    private Integer empId;
    @TableField("emp_no")
    @ApiModelProperty(value = "员工号")
    private String empNo;
    @TableField("emp_name")
    @ApiModelProperty(value = "员工姓名")
    private String empName;
    @TableField("emp_deptId")
    @ApiModelProperty(value = "所在部门号")
    private String empDeptId;
    @TableField("emp_duty")
    @ApiModelProperty(value = "职位")
    private String empDuty;
    @TableField("emp_xl")
    @ApiModelProperty(value = "学历")
    private String empXl;
    @TableField("emp_gender")
    @ApiModelProperty(value = "员工性别")
    private String empGender;
    @TableField("emp_birthday")
    @ApiModelProperty(value = "员工生日")
    private String empBirthday;
    @TableField("emp_hometown")
    @ApiModelProperty(value = "员工籍贯")
    private String empHometown;
    @TableField("emp_country")
    @ApiModelProperty(value = "员工国籍")
    private String empCountry;
    @TableField("emp_nation")
    @ApiModelProperty(value = "员工民族")
    private String empNation;
    @TableField("emp_idCard")
    @ApiModelProperty(value = "身份证号")
    private String empIdCard;
    @TableField("emp_marriage")
    @ApiModelProperty(value = "婚姻状况")
    private String empMarriage;
    @TableField("emp_health")
    @ApiModelProperty(value = "健康状况")
    private String empHealth;
    @TableField("emp_startWork")
    @ApiModelProperty(value = "参加工作时间")
    private String empStartWork;
    @TableField("emp_state")
    @ApiModelProperty(value = "员工状态")
    private String empState;
    @TableField("emp_homeAddress")
    @ApiModelProperty(value = "家庭住址")
    private String empHomeAddress;
    @TableField("emp_teleNo")
    @ApiModelProperty(value = "联系电话")
    private String empTeleNo;
    @TableField("emp_email")
    @ApiModelProperty(value = "联系email地址")
    private String empEmail;
    @TableField("emp_jobId")
    @ApiModelProperty(value = "工作岗位代号")
    private String empJobId;

    public Personnel() {
    }

    public Personnel(Integer empId, String empNo, String empName, String empDeptId, String empDuty, String empXl, String empGender, String empBirthday, String empHometown, String empCountry, String empNation, String empIdCard, String empMarriage, String empHealth, String empStartWork, String empState, String empHomeAddress, String empTeleNo, String empEmail, String empJobId, List<Paitient> paitients) {
        this.empId = empId;
        this.empNo = empNo;
        this.empName = empName;
        this.empDeptId = empDeptId;
        this.empDuty = empDuty;
        this.empXl = empXl;
        this.empGender = empGender;
        this.empBirthday = empBirthday;
        this.empHometown = empHometown;
        this.empCountry = empCountry;
        this.empNation = empNation;
        this.empIdCard = empIdCard;
        this.empMarriage = empMarriage;
        this.empHealth = empHealth;
        this.empStartWork = empStartWork;
        this.empState = empState;
        this.empHomeAddress = empHomeAddress;
        this.empTeleNo = empTeleNo;
        this.empEmail = empEmail;
        this.empJobId = empJobId;
    }


    public Integer getEmpId() {
        return empId;
    }

    public void setEmpId(Integer empId) {
        this.empId = empId;
    }

    public String getEmpNo() {
        return empNo;
    }

    public void setEmpNo(String empNo) {
        this.empNo = empNo;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public String getEmpDeptId() {
        return empDeptId;
    }

    public void setEmpDeptId(String empDeptId) {
        this.empDeptId = empDeptId;
    }

    public String getEmpDuty() {
        return empDuty;
    }

    public void setEmpDuty(String empDuty) {
        this.empDuty = empDuty;
    }

    public String getEmpXl() {
        return empXl;
    }

    public void setEmpXl(String empXl) {
        this.empXl = empXl;
    }

    public String getEmpGender() {
        return empGender;
    }

    public void setEmpGender(String empGender) {
        this.empGender = empGender;
    }

    public String getEmpBirthday() {
        return empBirthday;
    }

    public void setEmpBirthday(String empBirthday) {
        this.empBirthday = empBirthday;
    }

    public String getEmpHometown() {
        return empHometown;
    }

    public void setEmpHometown(String empHometown) {
        this.empHometown = empHometown;
    }

    public String getEmpCountry() {
        return empCountry;
    }

    public void setEmpCountry(String empCountry) {
        this.empCountry = empCountry;
    }

    public String getEmpNation() {
        return empNation;
    }

    public void setEmpNation(String empNation) {
        this.empNation = empNation;
    }

    public String getEmpIdCard() {
        return empIdCard;
    }

    public void setEmpIdCard(String empIdCard) {
        this.empIdCard = empIdCard;
    }

    public String getEmpMarriage() {
        return empMarriage;
    }

    public void setEmpMarriage(String empMarriage) {
        this.empMarriage = empMarriage;
    }

    public String getEmpHealth() {
        return empHealth;
    }

    public void setEmpHealth(String empHealth) {
        this.empHealth = empHealth;
    }

    public String getEmpStartWork() {
        return empStartWork;
    }

    public void setEmpStartWork(String empStartWork) {
        this.empStartWork = empStartWork;
    }

    public String getEmpState() {
        return empState;
    }

    public void setEmpState(String empState) {
        this.empState = empState;
    }

    public String getEmpHomeAddress() {
        return empHomeAddress;
    }

    public void setEmpHomeAddress(String empHomeAddress) {
        this.empHomeAddress = empHomeAddress;
    }

    public String getEmpTeleNo() {
        return empTeleNo;
    }

    public void setEmpTeleNo(String empTeleNo) {
        this.empTeleNo = empTeleNo;
    }

    public String getEmpEmail() {
        return empEmail;
    }

    public void setEmpEmail(String empEmail) {
        this.empEmail = empEmail;
    }

    public String getEmpJobId() {
        return empJobId;
    }

    public void setEmpJobId(String empJobId) {
        this.empJobId = empJobId;
    }



    @Override
    public String toString() {
        return "Personnel{" +
                "empId=" + empId +
                ", empNo='" + empNo + '\'' +
                ", empName='" + empName + '\'' +
                ", empDeptId='" + empDeptId + '\'' +
                ", empDuty='" + empDuty + '\'' +
                ", empXl='" + empXl + '\'' +
                ", empGender='" + empGender + '\'' +
                ", empBirthday='" + empBirthday + '\'' +
                ", empHometown='" + empHometown + '\'' +
                ", empCountry='" + empCountry + '\'' +
                ", empNation='" + empNation + '\'' +
                ", empIdCard='" + empIdCard + '\'' +
                ", empMarriage='" + empMarriage + '\'' +
                ", empHealth='" + empHealth + '\'' +
                ", empStartWork='" + empStartWork + '\'' +
                ", empState='" + empState + '\'' +
                ", empHomeAddress='" + empHomeAddress + '\'' +
                ", empTeleNo='" + empTeleNo + '\'' +
                ", empEmail='" + empEmail + '\'' +
                ", empJobId='" + empJobId + '\'' +
                '}';
    }
}
